home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / TGCBOR20.ARJ / INTROPAK.COM / EXMENU01.C < prev    next >
C/C++ Source or Header  |  1991-04-05  |  827b  |  33 lines

  1. /*  exmenu01.c    */
  2.  
  3. #include "teglsys.h"
  4.  
  5. optionmptr  om1, om2;
  6.  
  7. unsigned getmssense(imagestkptr ifs, msclickptr ms)
  8.   {
  9.     /* setmousesense(ifs->x,ifs->y); */
  10.     return(1);
  11.   }
  12.  
  13. void main()
  14.   {
  15.     easytegl();     /* simplified startup */
  16.     easyout();      /* exit button */
  17.  
  18.     om1 = createoptionmenu(font14);
  19.     defineoptions(om1," ~I~nfo... ", TRUE, nilunitproc);
  20.     defineoptions(om1,"-",     FALSE, nilunitproc);
  21.     defineoptions(om1," ~Q~uit ", TRUE, quit);
  22.  
  23.     om2 = createoptionmenu(font14);
  24.     defineoptions(om2," ~M~emory ",TRUE,nilunitproc/*showcoordinates*/);
  25.     defineoptions(om2," ~M~ouse sensitivity ",TRUE,nilunitproc /*getmssense*/);
  26.  
  27.     createbarmenu(0,0,getmaxx());
  28.     outbaroption(" ~F~ile ",om1);
  29.     outbaroption(" ~U~tility ",om2);
  30.  
  31.     teglsupervisor();
  32.   }
  33.